Freescale Semiconductor /MK60D10 /ENET /ATCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ATCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0)EN 0 (0)OFFEN 0 (0)OFFRST 0 (0)PEREN 0 (0)PINPER 0 (RESTART)RESTART 0 (0)CAPTURE 0 (0)SLAVE

OFFEN=0, CAPTURE=0, PEREN=0, SLAVE=0, EN=0, PINPER=0, OFFRST=0

Description

Timer Control Register

Fields

EN

Enable Timer

0 (0): The timer stops at the current value.

1 (1): The timer starts incrementing.

OFFEN

Enable One-Shot Offset Event

0 (0): Disable.

1 (1): The timer can be reset to zero when the given offset time is reached (offset event). The field is cleared when the offset event is reached, so no further event occurs until the field is set again. The timer offset value must be set before setting this field.

OFFRST

Reset Timer On Offset Event

0 (0): The timer is not affected and no action occurs, besides clearing OFFEN, when the offset is reached.

1 (1): If OFFEN is set, the timer resets to zero when the offset setting is reached. The offset event does not cause a timer interrupt.

PEREN

Enable Periodical Event

0 (0): Disable.

1 (1): A period event interrupt can be generated (EIR[TS_TIMER]) and the event signal output is asserted when the timer wraps around according to the periodic setting ATPER. The timer period value must be set before setting this bit. Not all devices contain the event signal output. See the chip configuration details.

PINPER

Enables event signal output assertion on period event

0 (0): Disable.

1 (1): Enable.

RESTART

Reset Timer

CAPTURE

Capture Timer Value

0 (0): No effect.

1 (1): The current time is captured and can be read from the ATVR register.

SLAVE

Enable Timer Slave Mode

0 (0): The timer is active and all configuration fields in this register are relevant.

1 (1): The internal timer is disabled and the externally provided timer value is used. All other fields, except CAPTURE, in this register have no effect. CAPTURE can still be used to capture the current timer value.

Links

() ()